import os

path = r"\\diskstation3\8192G_04\Fitgirl20250111".lstrip("\\")
base_path = '\\' + path.split('\\')[0]
print(base_path)